package com.jyw.business.ins.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 巡检计划跳过任务储存对象 ins_plan_skip
 *
 * @author zhangcheng
 * @date 2023-12-25
 */
@Data
@TableName("ins_plan_skip")
@ApiModel("巡检计划跳过任务储存实体")
public class InsPlanSkip {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 巡检计划ID
     */
    @ApiModelProperty("巡检计划ID")
    @Excel(name = "巡检计划ID")
    private Long planId;

    /**
     * 跳过日期
     */
    @ApiModelProperty("跳过日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跳过日期", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDate skipDate;

    /**
     * 跳过类型
     */
    @ApiModelProperty("跳过类型")
    @Excel(name = "跳过类型")
    private Integer skipType;

    /**
     * 生成任务时间JSON
     */
    @ApiModelProperty("生成任务时间JSON")
    private String skipTask;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
